import Vue from 'vue';
import Vuex from 'vuex';
import user from './modules/user';
import common from './modules/common';
import tags from './modules/tags';
import logs from './modules/logs';
import dict from './modules/dict';
import design from './modules/design';
import form from './modules/form';
import repair from './modules/repair';
import stationOperation from './modules/station-operation';
import extendedAttribute from './modules/extendedAttribute';
import getters from './getters';

Vue.use(Vuex);
const store = new Vuex.Store({
  modules: {
    user,
    common,
    logs,
    tags,
    dict,
    design,
    form,
    repair,
    stationOperation,
    extendedAttribute
  },
  getters
});

export default store;
